package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class BaseController<T>{
	@RequestMapping(value="{model}/{handle}",method=RequestMethod.GET)
	public String addGet(@PathVariable String model,@PathVariable String handle) {
		System.out.println("跳转页面："+model+"/"+handle);
		return model+"/"+handle;
	}
}
